<template>
  <li class="list-group-item">
    <div class="handle">
        <a href="javascript:;" @click="deleteComment(index)">删除</a>
    </div>
    <p class="user"><span >{{comment.userName}}</span><span>说:</span></p>
    <p class="centence">{{comment.commentContent}}</p>
  </li>
</template>

<script>
export default {
  name: 'Item',
  props:{
      comment:Object,
      deleteComment:Function,
      index:Number,
  }
}
</script>

<style scoped>

</style>
